<?php
class ApiController extends Controller
{
	public function init()
	{
		$key = '0d291452bc581a021494f7b4bdbb3d5d';
        $apptk = isset($_GET['apptk']) ? $_GET['apptk']:'';
        if($apptk != $key)
        {
        	$array =array(
                'code'=>0,
                'msg'=>'秘钥有误',
            );
             echo json_encode($array);die;
        }
	}
}